package Lesson;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入：");
        String s = sc.nextLine();

        //遍历字符串
        for(int i = 0; i < s.length(); i++){
            System.out.println(s.charAt(i));

        }
    }
}
